package com;

import java.awt.*;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import static java.lang.System.exit;

public class T {
    public static void main(String[] args) throws InterruptedException {
       TankFrame newFrame=new TankFrame();

       while (true){
           Thread.sleep(50);
           newFrame.repaint();
       }
    }
}
